

Pod::Spec.new do |s|
  s.name             = "BCComConfigKit"
  s.version          = "1.0.0"
  s.summary          = "iOS 应用配置组件"
  s.description      = <<-DESC.gsub(/^\s*\|?/,'')
                       An optional longer description of Huihui Health

                       | * Markdown format.
                       | * Don't worry about the indent, we strip it!
                       DESC
  s.homepage         = "https://gitlab.leke.cn/health-huihui/app/ios/ios-component/BCComConfigKit.git"
  s.license          = 'BSD'
  s.author           = { "chasel" => "chenchun1@cnstrong.cn" }
  s.source           = { :git => "git@gitlab.leke.cn:health-huihui/app/ios/ios-component/BCComConfigKit.git", :branch => "master" }


  s.platform     = :ios, '9.0'
  s.requires_arc = true

  s.default_subspec = 'Core'
  
  # 核心库
  s.subspec 'Core' do |core|
      core.public_header_files = 'BCComConfigKit/Core/**/*.h'
      core.source_files = 'BCComConfigKit/Core/**/*.{h,m}'
      core.resource = 'BCComConfigKit/Core/Assets/BCComConfigKit.bundle'
  end

  s.subspec 'Swift' do |swift|
    swift.source_files = 'BCComConfigKit/Swift/*.swift'
    swift.dependency s.name+'/Core'

end

end
